package com.example.frameanimation;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.widget.ImageView;

public class Main2Activity extends AppCompatActivity {
    private ImageView mImgv2;



    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main2);
        mImgv2 = (ImageView) findViewById(R.id.imgv2);
        Animation animation = AnimationUtils.loadAnimation(this, R.anim.tween_animation);
        mImgv2.startAnimation(animation);
    }
}
